package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款表对象 collectionform
 * 
 * @author aower
 * @date 2022-02-20
 */
public class Collectionform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收款表编号 */
    private Integer collectionformId;

    /** 合同号 */
    @Excel(name = "合同号")
    private String collectionformContractId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String collectionformCustomerName;

    /** 金额 */
    @Excel(name = "金额")
    private String collectionformAmount;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionformTime;

    public void setCollectionformId(Integer collectionformId) 
    {
        this.collectionformId = collectionformId;
    }

    public Integer getCollectionformId() 
    {
        return collectionformId;
    }
    public void setCollectionformContractId(String collectionformContractId) 
    {
        this.collectionformContractId = collectionformContractId;
    }

    public String getCollectionformContractId() 
    {
        return collectionformContractId;
    }
    public void setCollectionformCustomerName(String collectionformCustomerName) 
    {
        this.collectionformCustomerName = collectionformCustomerName;
    }

    public String getCollectionformCustomerName() 
    {
        return collectionformCustomerName;
    }
    public void setCollectionformAmount(String collectionformAmount) 
    {
        this.collectionformAmount = collectionformAmount;
    }

    public String getCollectionformAmount() 
    {
        return collectionformAmount;
    }
    public void setCollectionformTime(Date collectionformTime) 
    {
        this.collectionformTime = collectionformTime;
    }

    public Date getCollectionformTime() 
    {
        return collectionformTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectionformId", getCollectionformId())
            .append("collectionformContractId", getCollectionformContractId())
            .append("collectionformCustomerName", getCollectionformCustomerName())
            .append("collectionformAmount", getCollectionformAmount())
            .append("collectionformTime", getCollectionformTime())
            .toString();
    }
}
